<!DOCTYPE html>
<?php
$arr = array();
?>
<html>
<meta charset = utf-8>
<head>
	<title>put</title>
</head>
<body>
<volist name='list' id='vo' >
<?php
$arr[] = array("name"=>$vo['name'],"grade"=>$vo['grade'],"term"=>$vo['term'],"subject"=>$vo['subject'],"score"=>$vo['score']);
?>
</volist>
<?php
echo json_encode(array('student'=> array('data'=>$arr)));
?>
</body>
</html>